package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_unioncampwar_box", autoSave = true,uploadCk = true,desc = "商帮-宝库")
public class LogUnionCampWarOpenBox extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "周id", isIndex = true)
    private int weekId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "组id")
    private int groupId;
    @FieldTypeAnnotation(desc = "阵营id")
    private int campId;
    @FieldTypeAnnotation(desc = "宝箱位置")
    private int boxId;
    @FieldTypeAnnotation(desc = "宝箱轮次")
    private int boxRound;
    @FieldTypeAnnotation(desc = "是否大奖")
    private boolean isBigReward;
    @FieldTypeAnnotation(desc = "奖励id")
    private String rewards;

    public LogUnionCampWarOpenBox(int weekId, long userId, int groupId, int campId, int boxId, int boxRound, boolean isBigReward, String rewards) {
        this.weekId = weekId;
        this.userId = userId;
        this.groupId = groupId;
        this.campId = campId;
        this.boxId = boxId;
        this.boxRound = boxRound;
        this.isBigReward = isBigReward;
        this.rewards = rewards;
    }

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        this.weekId = weekId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getCampId() {
        return campId;
    }

    public void setCampId(int campId) {
        this.campId = campId;
    }

    public int getBoxId() {
        return boxId;
    }

    public void setBoxId(int boxId) {
        this.boxId = boxId;
    }

    public int getBoxRound() {
        return boxRound;
    }

    public void setBoxRound(int boxRound) {
        this.boxRound = boxRound;
    }

    public boolean isBigReward() {
        return isBigReward;
    }

    public void setBigReward(boolean bigReward) {
        isBigReward = bigReward;
    }

    public String getRewards() {
        return rewards;
    }

    public void setRewards(String rewards) {
        this.rewards = rewards;
    }
}
